<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<body>
<div id="zhongshantong" th:fragment="add" >
    <hr/>
    <h4 class="modal-title" id="zhongshantongs">中山通</h4>
    <input type="hidden"  id="zhongshantongIsCallback">
    <input type="hidden"  id="zhongshantongTypes">
    <input type="hidden"  id="zhongshantongPayType">
    <div class="form-group">
        <label class="control-label" for="zhongshantongType"><span class="asterisk">*</span>支付类型:</label>
        <select  id="zhongshantongType" multiple class="form-control select2">
            <option th:each="zhongshantongType : ${paytypes}" th:value="${zhongshantongType}" th:text="${zhongshantongType.payTypeName}">
                支付渠道
            </option>
        </select>
        <div class="help-block with-errors"></div>
    </div>

    <!--<div class="form-group">
        <label class="control-label" for="zhongshantongDevice"><span class="asterisk">*</span>中山通device:</label>
        <input id="zhongshantongDevice" type="text" class="form-control" placeholder="中山通device">
        <div class="help-block with-errors"></div>
    </div>-->
    <div class="form-group">
        <label class="control-label" for="zhongshantongKey"><span class="asterisk">*</span>secretkey:</label>
        <input id="zhongshantongKey" type="text" class="form-control" placeholder="secretkey">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongMchId"><span class="asterisk">*</span>商户号:</label>
        <input id="zhongshantongMchId" type="text" class="form-control" placeholder="商户号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongStoreID"><span class="asterisk">*</span>StoreID:</label>
        <input id="zhongshantongStoreID" type="text" class="form-control" placeholder="商户号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongWxSubMchId"><span class="asterisk">*</span>微信子商号:</label>
        <input id="zhongshantongWxSubMchId" type="text" class="form-control" placeholder="微信子商号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongAlipaySubMchId"><span class="asterisk">*</span>支付宝子商号:</label>
        <input id="zhongshantongAlipaySubMchId" type="text" class="form-control" placeholder="支付宝子商号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongCallBackurl"><span class="asterisk">*</span>回调地址:</label>
        <input id="zhongshantongCallBackurl" type="text" class="form-control" placeholder="回调地址">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongRemark">备注:</label>
        <input id="zhongshantongRemark" type="text" class="form-control" placeholder="输入备注">
        <div class="help-block with-errors"></div>
    </div>
</div>


<div id="editzhongshantong" th:fragment="edit">
    <hr/>
    <h4 class="modal-title" id="editzhongshantongs">中山通</h4>
    <input type="hidden"  id="editzhongshantongIsCallback">
    <input type="hidden"  id="editzhongshantongTypes">
    <input type="hidden"  id="editzhongshantongPayType">
    <div class="form-group">
        <label class="control-label" for="editzhongshantongType"><span class="asterisk">*</span>支付类型:</label>
        <select  id="editzhongshantongType" name="editzhongshantongType" multiple class="form-control select2">
            <option th:each="editzhongshantongType : ${paytypes}" th:value="${editzhongshantongType.payType}" th:text="${editzhongshantongType.payTypeName}">
                支付渠道
            </option>
        </select>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editzhongshantongDevice"><span class="asterisk">*</span>中山通device:</label>
        <input id="editzhongshantongDevice" type="text" class="form-control" placeholder="中山通device">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editzhongshantongKey"><span class="asterisk">*</span>secretkey:</label>
        <input id="editzhongshantongKey" type="text" class="form-control" placeholder="secretkey">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editzhongshantongMchId"><span class="asterisk">*</span>商户号:</label>
        <input id="editzhongshantongMchId" type="text" class="form-control" placeholder="商户号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editzhongshantongStoreID"><span class="asterisk">*</span>StoreID:</label>
        <input id="editzhongshantongStoreID" type="text" class="form-control" placeholder="商户号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editzhongshantongWxSubMchId"><span class="asterisk">*</span>微信子商号:</label>
        <input id="editzhongshantongWxSubMchId" type="text" class="form-control" placeholder="微信子商号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editzhongshantongAlipaySubMchId"><span class="asterisk">*</span>支付宝子商号:</label>
        <input id="editzhongshantongAlipaySubMchId" type="text" class="form-control" placeholder="支付宝子商号">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="zhongshantongCallBackurl"><span class="asterisk">*</span>回调地址:</label>
        <input id="editzhongshantongCallBackurl" type="text" class="form-control" placeholder="回调地址">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editzhongshantongRemark">备注:</label>
        <input id="editzhongshantongRemark" type="text" class="form-control" placeholder="输入备注">
        <div class="help-block with-errors"></div>
    </div>
</div>
</body>
</html>